package com.ssy.lingxi.dataauth.model.dto;

import com.ssy.lingxi.component.redis.service.IRedisUtils;

import java.io.Serializable;
import java.util.List;

/**
 * 用户数据权限缓存DTO
 * @author 万宁
 * @version 2.0.0
 * @date 2021-04-07
 */
public class DataAuthDto implements Serializable {
    private static final long serialVersionUID = -5457746054412345110L;

    /**
     * 是否需要数据权限
     */
    private boolean dataAuth;

    /**
     * 用户Id列表
     */
    private List<Long> userIds;

    public boolean isDataAuth() {
        return dataAuth;
    }

    public void setDataAuth(boolean dataAuth) {
        this.dataAuth = dataAuth;
    }

    public List<Long> getUserIds() {
        return userIds;
    }

    public void setUserIds(List<Long> userIds) {
        this.userIds = userIds;
    }
}
